package com.allwees.bs.module.mms.wf;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.allwees.core.common.constant.EStatus;
import com.allwees.core.wf.Action;

/**
 * 零售商相关动作
 *
 * @author mouhaining
 * @since 2019-12-13
 *
 */
public enum ERetailerAction implements Action, IEnum<String> {

	//==== SYSTEM ====
	SYSTEM_CREATED

	;

	private EStatus afterActionStatus;

	ERetailerAction() {
		this(null);
	}

	ERetailerAction(EStatus afterActionStatus) {
		this.afterActionStatus = afterActionStatus;
	}

	@Override
	public EStatus afterActionStatus() {
		return afterActionStatus;
	}

	@Override
	public String getValue() {
		return name();
	}
}
